import { forwardRef, Module } from '@nestjs/common';
import { DictitemService } from './dictitem.service';
import { DictitemController } from './dictitem.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Dictitem } from './entities/dictitem.entity';
import { DictModule } from '../dict/dict.module';

@Module({
  imports: [TypeOrmModule.forFeature([Dictitem]), forwardRef(() => DictModule)],
  controllers: [DictitemController],
  providers: [DictitemService],
  exports: [DictitemService]
})
export class DictitemModule {}
